home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / INTLDEMO.PAK / FILELIST.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  46 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1991, 1996 by Borland International
  3. //   filelist.h
  4. //----------------------------------------------------------------------------
  5. #ifndef __FILELIST_H
  6. #define __FILELIST_H
  7.  
  8. #if !defined(OWL_BUTTON_H)
  9. #include <owl/button.h>
  10. #endif
  11. #include <bwcc.h>
  12.  
  13. class TFileListBox;
  14.  
  15. //
  16. // class TFileListDialog
  17. // ----- --------------- 
  18. //
  19. // Dialog box containing the FileListBox.
  20. //
  21. class TFileListDialog : public TDialog
  22. {
  23.   public:
  24.     TFileListDialog(TWindow * parent, TModule* Module, int ResourceId = LIST_DIALOG);
  25.     virtual ~TFileListDialog();
  26.  
  27.     void Sort(UINT);
  28.     void ToLower(UINT);
  29.     void View(UINT);
  30.     void Help(UINT);
  31.  
  32.     virtual      char far* GetClassName()
  33.     {
  34.       return BORDLGCLASS;
  35.     }
  36.  
  37.   private:
  38.     TFileListBox* ListBox;
  39.     TButton*      ViewButton;
  40.     char*         StartDir;
  41.  
  42.   DECLARE_RESPONSE_TABLE(TFileListDialog);
  43. };
  44.  
  45. #endif //__FILELIST_H
  46.